class BootStrap {

    def init = {servletContext ->
        def c = new Clique(name: 'Dining Philosophers',description:'''The Dining Philosophers is a nonprofit
organization  with the goal of providing an online and offline venue for Shanghai software professionals to
educate and network with each other on a social and professional basis.''')
        def s = new Person(firstName: 'Sonny', lastName: 'To', email: "son@kaicode.com")
        c.addToMembers(s)
        println "saving " + c.save()
    }
    def destroy = {
    }
} 